﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevComponents.DotNetBar;
using WoSoft.PACS.Win.MyToolBars;

namespace WoSoft.PACS.Win.Forms
{
    /// <summary>
    /// 参数设置
    /// </summary>
    public partial class FrmSettings : FrmBase
    {
        public FrmSettings()
        {
            InitializeComponent();
        }

        public FrmSettings(RibbonBar ribar)
            : base(ribar)
        {
            InitializeComponent();
            this.Text = "参数设置";
        }

        public override List<MyToolBars.OperationModel> Operations()
        {
            List<OperationModel> functionInfos = new List<OperationModel>();

            //保存SQL
            var saveButton = new OperationModel()
            {
                ID = Guid.NewGuid().ToString(),
                Name = "保存参数",
                Image = global::WoSoft.PACS.Win.Properties.Resources.disk_blue,
            };
            functionInfos.Add(saveButton);

            //刷新
            var refreshButton = new OperationModel()
            {
                ID = Guid.NewGuid().ToString(),
                Name = "刷新配置",
                Image = global::WoSoft.PACS.Win.Properties.Resources.refresh,
            };
            functionInfos.Add(refreshButton);
            return functionInfos;
        }

    }
}
